package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"user/controllers"
)

func init() {
	beego.Router("/login", &controllers.LoginController{}, "post:Login")
	beego.Router("/zhibo", &controllers.LiveController{}, "post:CreateLiveRoom")
	beego.Router("/group", &controllers.GroupController{}, "get:Group")
	beego.Router("/sendGb", &controllers.SendGbController{}, "post:SendGb")
	beego.Router("/recoverGb", &controllers.RecoverGbController{}, "get:RecoverGb")
	beego.Router("/sort", &controllers.SortController{}, "Post:Sort")
}
